home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / AdobeExamples / NX_ImportInt / resources.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-19  |  2.0 KB  |  66 lines

  1.  
  2. /*
  3.  * (a)  (C) 1990 by Adobe Systems Incorporated. All rights reserved.
  4.  *
  5.  * (b)  If this Sample Code is distributed as part of the Display PostScript
  6.  *    System Software Development Kit from Adobe Systems Incorporated,
  7.  *    then this copy is designated as Development Software and its use is
  8.  *    subject to the terms of the License Agreement attached to such Kit.
  9.  *
  10.  * (c)  If this Sample Code is distributed independently, then the following
  11.  *    terms apply:
  12.  *
  13.  * (d)  This file may be freely copied and redistributed as long as:
  14.  *    1) Parts (a), (d), (e) and (f) continue to be included in the file,
  15.  *    2) If the file has been modified in any way, a notice of such
  16.  *      modification is conspicuously indicated.
  17.  *
  18.  * (e)  PostScript, Display PostScript, and Adobe are registered trademarks of
  19.  *    Adobe Systems Incorporated.
  20.  * 
  21.  * (f) THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO
  22.  *    CHANGE WITHOUT NOTICE, AND SHOULD NOT BE CONSTRUED
  23.  *    AS A COMMITMENT BY ADOBE SYSTEMS INCORPORATED.
  24.  *    ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY
  25.  *    OR LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO
  26.  *    WARRANTY OF ANY KIND (EXPRESS, IMPLIED OR STATUTORY)
  27.  *    WITH RESPECT TO THIS INFORMATION, AND EXPRESSLY
  28.  *    DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY, 
  29.  *    FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT
  30.  *    OF THIRD PARTY RIGHTS.
  31.  */
  32.  
  33. /*
  34.  *    resources.h
  35.  *
  36.  *    This file contains the structure and defines for the resources.
  37.  *
  38.  *    Version:    2.0
  39.  *    Author:    Ken Fromm
  40.  *    History:
  41.  *            03-28-91        Created the file.
  42.  */
  43.  
  44. #import  <objc/objc.h>
  45.  
  46. #define  RES_PRESENT                0
  47. #define  RES_NEEDED                    1
  48. #define  RES_SUPPLIED                2
  49. #define  RES_NUMSTATES                3
  50.  
  51. #define  RES_FONTS                    0
  52. #define  RES_FILES                    1
  53. #define  RES_PROCSETS                2
  54. #define  RES_PATTERNS                3
  55. #define  RES_FORMS                    4
  56. #define  RES_RESOURCES                5
  57. #define  RES_NUMTYPES                6
  58.  
  59. typedef struct _Resource {
  60.     id            states[RES_NUMSTATES];
  61. } Resource;
  62.  
  63. typedef struct _ResourceList {
  64.     id            types[RES_NUMTYPES];
  65. } ResourceList;
  66.